Skip to content

Atoptool/atop

Folders and files

NameName
Last commit message
Last commit date
Dec 7, 2024
Jul 13, 2024
Nov 7, 2023
Jul 15, 2023
Sep 1, 2016
Jan 4, 2024
Sep 5, 2011
Sep 28, 2024
Apr 27, 2024
Oct 24, 2024
Nov 21, 2023
Feb 25, 2023
Feb 12, 2019
Jan 16, 2023
Aug 13, 2022
Dec 7, 2024
Feb 22, 2017
Mar 7, 2023
Jan 13, 2020
Dec 7, 2024
Jul 13, 2024
Jan 9, 2022
Mar 7, 2023
Aug 5, 2018
Jul 13, 2024
Jan 9, 2022
Mar 3, 2024
Oct 28, 2023
Oct 28, 2023
Apr 27, 2024
Jul 13, 2024
Mar 3, 2024
Feb 26, 2023
Apr 27, 2024
Dec 7, 2024
Apr 13, 2024
Apr 16, 2024
Feb 10, 2024
Nov 20, 2024
Dec 24, 2022
Apr 25, 2021
Apr 3, 2023
Feb 25, 2023
Apr 13, 2024
Feb 17, 2024
Feb 25, 2023
Oct 28, 2023
Jul 15, 2023
Oct 28, 2023
Jun 15, 2020
Feb 18, 2023
Dec 2, 2023
Jun 15, 2024
Feb 17, 2024
Jun 15, 2024
Apr 16, 2024
Nov 18, 2024
Apr 16, 2024
Feb 18, 2023
Dec 7, 2024
Apr 27, 2024
Nov 18, 2024
Nov 18, 2024
Mar 2, 2024
Mar 2, 2024
Oct 12, 2024
Jun 15, 2024
Feb 1, 2024
Dec 7, 2024
Oct 4, 2017
Jul 27, 2024

Repository files navigation

Created/maintained by Gerlof Langeveld gerlof.langeveld@atoptool.nl

Introduction

Atop is an ASCII full-screen performance monitor for Linux that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded system resources by using colors, etcetera. At regular intervals, it shows system-level activity related to the CPU, memory, swap, disks (including LVM) and network layers, and for every process (and thread) it shows e.g. the CPU utilization, memory growth, disk utilization, priority, username, state, and exit code. In combination with the optional kernel module netatop, it even shows network activity per process/thread. In combination with the optional daemon atopgpud, it also shows GPU activity on system level and process level. Furthermore cgroup-level resource consumption can be shown, optionally with the processes contained by these cgroups.

Highlights

The command atop has some major advantages compared to other performance monitoring tools:

  • Text mode for details and bar graph mode for global overview. In text mode details are shown about the utilization of system resources and the resource consumption by processes. In bar graph mode a (character-based) graphical overview is given about the utilization of the processors, disks, network interfaces and memory on system level.

  • Cgroups overview. In text mode the cgroups hierarchy can be shown with the utilization of CPU, memory and disk resources and the processes contained by these cgroups.

  • Resource consumption by all processes. It shows the resource consumption by all processes that were active during the interval, so also the resource consumption by those processes that have finished during the interval.

  • Utilization of all relevant resources. Obviously it shows system-level counters concerning utilization of cpu and memory/swap, however it also shows disk I/O and network utilization counters on system level.

  • Permanent logging of resource utilization. It is able to store raw counters in a file for long-term analysis on system level and process level. These raw counters are compressed at the moment of writing to minimize disk space usage. By default, the daily logfiles are preserved for 28 days. System activity reports can be generated from a logfile by using the atopsar command.

  • Highlight critical resources. It highlights resources that have (almost) reached a critical load by using colors for the system statistics.

  • Scalable window width. It is able to add or remove columns dynamically at the moment that you enlarge or shrink the width of your window.

  • Resource consumption by individual threads. It is able to show the resource consumption for each thread within a process.

  • Watch activity only. By default, it only shows system resources and processes that were really active during the last interval, so output related to resources or processes that were completely passive during the interval is by default suppressed.

  • Watch deviations only. For the active system resources and processes, only the load during the last interval is shown (not the accumulated utilization since system boot or process startup).

  • Accumulated process activity per user. For each interval, it is able to accumulate the resource consumption for all processes per user.

  • Accumulated process activity per program. For each interval, it is able to accumulate the resource consumption for all processes with the same name.

  • Accumulated process activity per container. For each interval, it is able to accumulate the resource consumption for all processes within the same container.

  • Network activity per process. In combination with the optional kernel module netatop or the BPF module netatop-bpf, it shows process-level counters concerning the number of TCP and UDP packets transferred, and the consumed network bandwidth per process.

  • GPU activity on system level and per process. In combination with the optional daemon atopgpud, it shows system-level and process-level counters concerning the load and memory utilization per GPU.

Links